﻿using UnityEditor;


namespace IQIGame.Onigao.Game.Editors
{
    /// <summary>
    /// 忽略unity自带的UI组件菜单
    /// </summary>
    public static class IgnoreUIMenu
    {

        [MenuItem("GameObject/UI/Image", true)]
        public static void IgnoreImage() { }
        [MenuItem("GameObject/UI/Text - TextMeshPro", true)]
        public static void IgnoreTextTextMeshPro() { }
        [MenuItem("GameObject/UI/Raw Image", true)]
        public static void IgnoreRawImage() { }
        [MenuItem("GameObject/UI/Button - TextMeshPro", true)]
        public static void IgnoreButton() { }
        [MenuItem("GameObject/UI/Panel", true)]
        public static void IgnorePanel() { }
        [MenuItem("GameObject/UI/Toggle", true)]
        public static void IgnoreToggle() { }
        [MenuItem("GameObject/UI/Slider", true)]
        public static void IgnoreSlider() { }
        [MenuItem("GameObject/UI/Scrollbar", true)]
        public static void IgnoreScrollbar() { }
        [MenuItem("GameObject/UI/Scroll View", true)]
        public static void IgnoreScrollView() { }
        [MenuItem("GameObject/UI/Dropdown - TextMeshPro", true)]
        public static void IgnoreDropdown() { }
        [MenuItem("GameObject/UI/Input Field - TextMeshPro", true)]
        public static void IgnoreInputField() { }
        [MenuItem("GameObject/UI/Canvas", true)]
        public static void IgnoreCanvas() { }
        [MenuItem("GameObject/UI/Loop Horizontal Scroll Rect", true)]
        public static void IgnoreLoopHorizontalScrollRect() { }
        [MenuItem("GameObject/UI/Loop Vertical Scroll Rect", true)]
        public static void IgnoreLoopVerticalScrollRect() { }
        [MenuItem("GameObject/UI/Legacy/Text", true)]
        public static void IgnoreLegacyText() { }
        [MenuItem("GameObject/UI/Legacy/Button", true)]
        public static void IgnoreLegacyButton() { }
        [MenuItem("GameObject/UI/Legacy/Dropdown", true)]
        public static void IgnoreLegacyDropdown() { }
        [MenuItem("GameObject/UI/Legacy/Input Field", true)]
        public static void IgnoreLegacyInputField() { }

    }

}
